html,
body,
#root {
  height: 100%;
}

body {
  margin                : 0;
  min-width             : 1300px;
  -webkit-font-smoothing: antialiased;
  /* overflow           : hidden; */
}

.p16 {
  padding: 16px;
}

.flex {
  display: flex;
}

.flex-item {
  flex: 1;
}

.flex-row {
  flex-direction: row;
}

.flex-column {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.inline-item {
  flex-direction: row;
  align-items   : center;
}

.justify-content-between {
  justify-content: space-between;
}

.justify-content-start {
  justify-content: flex-start;
}

.justify-content-end {
  justify-content: flex-end;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-around {
  justify-content: space-around;
}

.item-center {
  align-items: center;
}

.item-start {
  align-items: flex-start;
}

.item-end {
  align-items: flex-end;
}


/******* 地图相关样式 *******/
/* 屏蔽百度地图和PGIS 版权 */
.anchorBL,
.esriControlsBR {
  display: none;
}

.esri-view .esri-view-surface {
  outline: none;
}

.esriSimpleSlider,
.esriSimpleSliderVertical .esriSimpleSliderIncrementButton,
.esriSimpleSliderVertical .esriSimpleSliderDecrementButton {
  -webkit-border-radius: 0;
  border-radius        : 0
}


/**
 * 百度地图右键菜单样式
 */
.BMap_contextMenu {
  min-width: 150px;
}

.BMap_contextMenu>div {
  height     : 30px;
  line-height: 30px;
}

/**
 * 地图控件盒子
 */
.control-box {
  position: absolute;
  bottom  : 10px;
  right   : 10px;
  z-index : 5000;
}

.hide {
  display: none;
}


.tools {
  border-bottom: 1px solid #ddd;
  padding      : 5px 0;
}

.tools li {
  margin-right: 5px;
  padding     : 0 5px;
}

.tools a {
  color    : #AAAAAA;
  font-size: 22px;
  display  : block;
}

.tools a:hover {
  color: #F60;
}

/* 页面容器布局 */
.wrapper {
  position       : relative;
  display        : flex;
  flex           : 1;
  background     : #FFFFFF;
  flex-direction : row;
  justify-content: space-between;

}

.left-sider {
  z-index     : 500;
  width       : 320px;
  border-right: 1px solid #e5e5e5;
  box-shadow  : 0 0 10px rgba(33, 33, 33, .15);
}

/* 分割线  */
.Resizer {
  background             : #000;
  opacity                : 0.2;
  z-index                : 1;
  -moz-box-sizing        : border-box;
  -webkit-box-sizing     : border-box;
  box-sizing             : border-box;
  -moz-background-clip   : padding;
  -webkit-background-clip: padding;
  background-clip        : padding-box;
}

.Resizer:hover {
  -webkit-transition: all 1s ease;
  transition        : all 1s ease;
}

.Resizer.horizontal {
  height         : 7px;
  border-top     : 1px solid rgba(0, 0, 0, .7);
  background     : rgba(0, 0, 0, 0.3);
  cursor         : row-resize;
  width          : 100%;
  display        : flex;
  justify-content: center;
}

.Resizer.horizontal::before {
  display         : block;
  content         : ' ';
  margin          : 1px 0;
  width           : 33px;
  height          : 3px;
  background-image: url('');
  z-index         : 1000;
}

.Resizer.horizontal:hover {
  background: rgba(0, 0, 0, 0.5);
}

.Resizer.vertical {
  width       : 11px;
  margin      : 0 -5px;
  border-left : 5px solid rgba(255, 255, 255, 0);
  border-right: 5px solid rgba(255, 255, 255, 0);
  cursor      : col-resize;
}

.Resizer.vertical:hover {
  border-left : 5px solid rgba(0, 0, 0, 0.5);
  border-right: 5px solid rgba(0, 0, 0, 0.5);
}

.Resizer.disabled {
  cursor: not-allowed;
}

.Resizer.disabled:hover {
  border-color: transparent;
}


.react-contextmenu {
  background-clip: padding-box;
  background     : rgba(42, 42, 42, .9);
  box-shadow     : 0 0 10px rgba(33, 33, 33, .25);
  border-radius  : .25em;
  color          : #E8E8E8;
  font-size      : 14px;
  margin         : 2px 0 0;
  min-width      : 160px;
  outline        : none;
  opacity        : 0;
  padding        : 5px 0;
  pointer-events : none;
  text-align     : left;
  transition     : opacity 250ms ease !important;
}

.react-contextmenu.react-contextmenu--visible {
  opacity       : 1;
  pointer-events: auto;
  z-index       : 9999;
}

.react-contextmenu-item {
  background : 0 0;
  border     : 0;
  color      : #E8E8E8;
  cursor     : pointer;
  font-weight: 400;
  line-height: 1.5;
  padding    : 3px 20px;
  text-align : inherit;
  white-space: nowrap;
}

.react-contextmenu-item:hover,
.react-contextmenu-item.react-contextmenu-item--active,
.react-contextmenu-item.react-contextmenu-item--selected {
  color           : #fff;
  background-color: #1890ff;
  border-color    : #1890ff;
  text-decoration : none;
}

.react-contextmenu-item.react-contextmenu-item--disabled,
.react-contextmenu-item.react-contextmenu-item--disabled:hover {
  background-color: transparent;
  border-color    : rgba(0, 0, 0, .15);
  color           : #666;
  cursor          : not-allowed;
}

.react-contextmenu-item--divider {
  border-bottom: 1px solid rgba(255, 255, 255, .15);
  cursor       : inherit;
  margin-bottom: 3px;
  padding      : 2px 0;
}

.react-contextmenu-item--divider:hover {
  background-color: transparent;
  border-bottom   : 1px solid rgba(255, 255, 255, .15);
}

.react-contextmenu-item.react-contextmenu-submenu {
  padding: 0;
}

.react-contextmenu-item.react-contextmenu-submenu>.react-contextmenu-item {}

.react-contextmenu-item.react-contextmenu-submenu>.react-contextmenu-item:after {
  content : "▶";
  display : inline-block;
  position: absolute;
  right   : 7px;
}

.example-multiple-targets::after {
  content: attr(data-count);
  display: block;
}